# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python-azure-mgmt-keyvault
_pkgname=azure-mgmt-keyvault
pkgver=12.0.0
pkgrel=1
pkgdesc='Microsoft Azure Key Vault Management Client Library for Python.'
arch=('any')
url='https://pypi.org/project/azure-mgmt-keyvault/#files'
license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.zip")
sha512sums=('cd847e88fd97dadd6fdaf173c37094031a0d4ec44ae41d0bbc0979dd0d8b8ffeea0bc3e3f13b1f058aff502fd29e22a98208d10a0147b352026bfccc6a9bc96b')

build() {
  cd "$_pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$_pkgname-$pkgver"

  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 \
    --skip-build
}

